﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace RedfinCrawlPro
{
   
    public class RawCrawledData
    {

        private List<RefinPropertyData> _redfinProperties = null;
        public RawCrawledData()
        {
            _redfinProperties = new List<RefinPropertyData>();
        }

        public void  addPropertyToRedfinList(RefinPropertyData property)
        {
            _redfinProperties.Add(property);
        }

        public ReadOnlyCollection<RefinPropertyData> RedFinProperyList
        {
            get
            {
                ReadOnlyCollection<RefinPropertyData> readOnlyCollection = new ReadOnlyCollection<RefinPropertyData>(_redfinProperties);
                return readOnlyCollection;
            }
        }



    }
}
